package com.unionpay.rpc;

import java.util.ArrayList;

/**
 * RPC返回数据，result为对象
 * 
 * @author liuzy
 * @since 2016年4月29日
 */
public class DataObj extends Data {
	private Trade result;

	public Trade getResult() {
		return result;
	}

	public void setResult(Trade result) {
		this.result = result;
	}

	public class Trade {
		private String blockHash;
		private String blockNumber;
		private String from;
		private String gas;
		private String gasPrice;
		private String hash;
		private String input;
		private String nonce;
		private String to;
		private String transactionIndex;
		private String value;
		private String number;
		private String parentHash;
		private String sha3Uncles;
		private String receiptRoot;
		private String logsBloom;
		private String transactionsRoot;
		private String stateRoot;
		private String miner;
		private String difficulty;
		private String totalDifficulty;
		private String extraData;
		private String size;
		private String gasLimit;
		private String gasUsed;
		private String timestamp;
		private ArrayList<String> transactions;
		private ArrayList<String>  uncles;

		public String getReceiptRoot() {
			return receiptRoot;
		}

		public void setReceiptRoot(String receiptRoot) {
			this.receiptRoot = receiptRoot;
		}

		public String getNumber() {
			return number;
		}

		public void setNumber(String number) {
			this.number = number;
		}

		public String getParentHash() {
			return parentHash;
		}

		public void setParentHash(String parentHash) {
			this.parentHash = parentHash;
		}

		public String getSha3Uncles() {
			return sha3Uncles;
		}

		public void setSha3Uncles(String sha3Uncles) {
			this.sha3Uncles = sha3Uncles;
		}

		public String getLogsBloom() {
			return logsBloom;
		}

		public void setLogsBloom(String logsBloom) {
			this.logsBloom = logsBloom;
		}

		public String getTransactionsRoot() {
			return transactionsRoot;
		}

		public void setTransactionsRoot(String transactionsRoot) {
			this.transactionsRoot = transactionsRoot;
		}

		public String getStateRoot() {
			return stateRoot;
		}

		public void setStateRoot(String stateRoot) {
			this.stateRoot = stateRoot;
		}

		public String getMiner() {
			return miner;
		}

		public void setMiner(String miner) {
			this.miner = miner;
		}

		public String getDifficulty() {
			return difficulty;
		}

		public void setDifficulty(String difficulty) {
			this.difficulty = difficulty;
		}

		public String getTotalDifficulty() {
			return totalDifficulty;
		}

		public void setTotalDifficulty(String totalDifficulty) {
			this.totalDifficulty = totalDifficulty;
		}

		public String getExtraData() {
			return extraData;
		}

		public void setExtraData(String extraData) {
			this.extraData = extraData;
		}

		public String getSize() {
			return size;
		}

		public void setSize(String size) {
			this.size = size;
		}

		public String getGasLimit() {
			return gasLimit;
		}

		public void setGasLimit(String gasLimit) {
			this.gasLimit = gasLimit;
		}

		public String getGasUsed() {
			return gasUsed;
		}

		public void setGasUsed(String gasUsed) {
			this.gasUsed = gasUsed;
		}

		public String getTimestamp() {
			return timestamp;
		}

		public void setTimestamp(String timestamp) {
			this.timestamp = timestamp;
		}

		public ArrayList<String> getTransactions() {
			return transactions;
		}

		public void setTransactions(ArrayList<String> transactions) {
			this.transactions = transactions;
		}

		public ArrayList<String> getUncles() {
			return uncles;
		}

		public void setUncles(ArrayList<String> uncles) {
			this.uncles = uncles;
		}

		public String getBlockHash() {
			return blockHash;
		}

		public void setBlockHash(String blockHash) {
			this.blockHash = blockHash;
		}

		public String getBlockNumber() {
			return blockNumber;
		}

		public void setBlockNumber(String blockNumber) {
			this.blockNumber = blockNumber;
		}

		public String getFrom() {
			return from;
		}

		public void setFrom(String from) {
			this.from = from;
		}

		public String getGas() {
			return gas;
		}

		public void setGas(String gas) {
			this.gas = gas;
		}

		public String getGasPrice() {
			return gasPrice;
		}

		public void setGasPrice(String gasPrice) {
			this.gasPrice = gasPrice;
		}

		public String getHash() {
			return hash;
		}

		public void setHash(String hash) {
			this.hash = hash;
		}

		public String getInput() {
			return input;
		}

		public void setInput(String input) {
			this.input = input;
		}

		public String getNonce() {
			return nonce;
		}

		public void setNonce(String nonce) {
			this.nonce = nonce;
		}

		public String getTo() {
			return to;
		}

		public void setTo(String to) {
			this.to = to;
		}

		public String getTransactionIndex() {
			return transactionIndex;
		}

		public void setTransactionIndex(String transactionIndex) {
			this.transactionIndex = transactionIndex;
		}

		public String getValue() {
			return value;
		}

		public void setValue(String value) {
			this.value = value;
		}
	}
}